﻿using System;
using SqlSugar;

namespace Hiver.Entity
{
    /// <summary>
    /// 用户表实体类
    /// </summary>
    [SugarTable("dbo.UserInfo")]
    public class UserInfo
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        /// <summary>
        /// 用户编号
        /// </summary>
        public string UserNo { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 邮箱地址
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 权限
        /// </summary>
        public string Access { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        [SugarColumn(IsOnlyIgnoreUpdate = true)]
        public string Password { get; set; }
        /// <summary>
        /// 操作人
        /// </summary>
        public int OperUserID { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime OperDate { get; set; }
        /// <summary>
        /// 删除标志位
        /// </summary>
        [SugarColumn(IsOnlyIgnoreUpdate = true)]
        public bool Del { get; set; }
    }
}